FIND and REMOVE duplicate items in array using JavaScript